package com.imot.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 试验数据表
 * </p>
 *
 * @author wangjiah
 * @since 2023-11-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("experiment_files")
@ApiModel(value="ExperimentFiles对象", description="试验数据表")
public class ExperimentFiles implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键，自动递增")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "试验名称")
    private String experimentName;

    @ApiModelProperty(value = "试验编码")
    private String experimentCode;

    @ApiModelProperty(value = "上传人")
    private Integer userId;

    @ApiModelProperty(value = "数据类型")
    private String dataType;

    @ApiModelProperty(value = "上传时间")
    private LocalDateTime uploadTime;

    @ApiModelProperty(value = "文件大小，单位为M")
    private String fileSize;

    @ApiModelProperty(value = "故障条件描述")
    private String faultCondition;

    @ApiModelProperty(value = "文件存储的URL或路径")
    private String fileUrl;


}
